set terminal pdfcairo font 'Times New Roman,16'   #Font
set output "1d-gs-3p.pdf"     #Output

set key box    #Legend position
set key top right
set key width 0.5
set key on


set xlabel "Problem Size (=2^x)" font "Times New Roman,18"
set ylabel "Gstencils/s" font "Times New Roman,18"
set xrange[-0.3:17.3]
set yrange[0:2.0]

set xtics ( "7" 0, "9" 2, "11" 4, "13" 6, "15" 8, "17" 10, "19" 12, "21" 14, "23" 16)
set grid ytics

plot "../result/1d-gs-3p.data.txt"   u 3     w lp  lc "red" pt 9 ps 0.9  axis x1y1 t      columnheader(3),'' \
				u 2   w lp  lc "forest-green"  pt 3 ps 0.9  axis x1y1 t  columnheader(2)

